package com.cetccst.securitysuite.activity;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;

import com.cetccst.securitysuite.R;

import cn.com.cetccst.appshield.ui.AppShieldFragment;

public class FragmentTestActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_fragment_test);
        getSupportFragmentManager().beginTransaction().replace(R.id.testFragment, getFragment()).commit();
    }

    private Fragment getFragment() {
        //测试的时候注释掉已有的，放开待测的，不要删除
        return new AppShieldFragment();
    }
}